package com.leesche.zcsp.node.web.dao;

import com.leesche.zcsp.node.web.model.PubDeviceBalance;
import com.leesche.zcsp.node.web.model.PubDeviceBalanceCriteria;
import com.leesche.zcsp.node.web.service.impl.data.read.PubDeviceBalanceDto;
import com.leesche.zcsp.node.web.service.impl.data.read.QueryPubDeviceBalanceCondition;

import java.util.List;

public interface PubDeviceBalanceDao  extends  BaseDao<PubDeviceBalance, PubDeviceBalanceCriteria,PubDeviceBalanceDto,QueryPubDeviceBalanceCondition, Long>  {

    /**
     * @Title: selectfFrequencyStatisticByDeviceid
     * @Description: TODO( 根据设备ID查询设备的清零账目信息 )
     * @author Jerry
     * @date 2016-11-03 11:25:19
     * @param condition　设备清零查询条件
     * @returnID 设备清零账目信息集合
     */
    List<PubDeviceBalance> selectFrequencyStatisticByDeviceid(QueryPubDeviceBalanceCondition condition);

    /** 
     * @Title: selectBalanceidsByDeviceid(QueryPubDeviceBalanceCondition condition)
     * @Description: TODO( 获取用户场地设备的清零账目所有ID信息集合 )
     * @author Jerry Chan
     * @date 2016/12/6 16:27
     * @return 清零账目所有ID信息集合
     */
    List<PubDeviceBalance> selectBalanceidsByDeviceid(QueryPubDeviceBalanceCondition condition);

    /** 
     * @Title: selectBalanceByDeviceid(QueryPubDeviceBalanceCondition condition)
     * @Description: TODO( 获取用户场地设备的清零账目信息 )
     * @author Jerry Chan
     * @date 2016/12/6 16:28
     * @return 
     */
    PubDeviceBalance selectBalanceByDeviceid(QueryPubDeviceBalanceCondition condition);

}